#ifndef __MACRO_H__
#define __MACRO_H__

#define SAFE_DEL(x) {if(!x){delete x;} x=0;}
#define SAFE_ARRAY_DEL(x) {if(!x){delete[] x;} x=0;}

#endif